/**
 *
 *  @auth xlx_good@qq.com
 *  @date 17/4/30.
 *
 */

const reg = {
  companyName: /^\w{1,50}$/,
  companyAddress: /^\w{1,100}$/,
  name: /^\w{1,50}$/,
  phone: /^(0|86|17951)?(13[0-9]|15[012356789]|17[0-9]|18[0-9]|14[57])[0-9]{8}$/,
  idCard: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
}

export default reg;
